(command-apropos): Print echo area message iff found symbols.
authorRichard M. Stallman <rms@gnu.org>
Tue, 9 Mar 1993 17:48:56 +0000 (17:48 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 9 Mar 1993 17:48:56 +0000 (17:48 +0000)
lisp/help.el

index 95d082973613b47b12d83881481f72c7b0c0c2f8..3be32b6ce5761064afd3cce5d656abec80901ac0 100644 (file)
@@ -381,8 +381,8 @@ documentation found."
   (let ((message
         (let ((standard-output (get-buffer-create "*Help*")))
           (print-help-return-message 'identity))))
-    (apropos string t 'commandp)
-    (and message (message message))))
+    (if (apropos string t 'commandp)
+       (and message (message message)))))
 
 (defun locate-library (library &optional nosuffix)
   "Show the full path name of Emacs library LIBRARY.